strconv.decimalSlice.dp (field)
25 uses
strconv (current package)
ftoa.go#L126: prec = max(digs.nd-digs.dp, 0)
ftoa.go#L171: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L177: prec = max(digs.nd-digs.dp, 0)
ftoa.go#L194: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L208: if eprec > digs.nd && digs.nd >= digs.dp {
ftoa.go#L217: exp := digs.dp - 1
ftoa.go#L224: if prec > digs.dp {
ftoa.go#L227: return fmtF(dst, neg, digs, max(prec-digs.dp, 0))
ftoa.go#L375: nd, dp int
ftoa.go#L408: exp := d.dp - 1
ftoa.go#L441: if d.dp > 0 {
ftoa.go#L442: m := min(d.nd, d.dp)
ftoa.go#L444: for ; m < d.dp; m++ {
ftoa.go#L456: if j := d.dp + i; 0 <= j && j < d.nd {
ftoaryu.go#L29: d.nd, d.dp = 0, 0
ftoaryu.go#L86: d.dp -= q
ftoaryu.go#L96: d.nd, d.dp = 0, 0
ftoaryu.go#L156: d.dp -= q
ftoaryu.go#L223: d.dp = d.nd + trimmed
ftoaryu.go#L229: d.nd, d.dp = 0, 0
ftoaryu.go#L326: d.dp -= q
ftoaryu.go#L382: d.dp += 9
ftoaryu.go#L406: d.dp--
ftoaryu.go#L415: d.dp = endindex + 1
ftoaryu.go#L480: d.dp = d.nd + trimmed
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |